﻿using AuthCenter.ErorCode;
using AuthCenter_API.Read.Dtos;
using MediatR;

namespace AuthCenter_API.Read.Applications.Commands.Audit
{
    public class AuditQueryCommand:IRequest<APIResult<APIPaging<AuditDto>>>
    {
        public int Index {  get; set; }
        public int Size {  get; set; }
        public DateTime? StartTime { get; set; }
        public DateTime? EndTime { get; set; }
        public string? UserName { get; set; }
        public int? State { get; set; }
        public int Id { get; set; }
        public string RoleId { get; set; }
        public int DeptId { get; set; }
    }
}
